package Javatest;

public class test_6_4 {
    public static void main(String[] args) {
        //test1();
        //test2();
        test3();
    }


    public static void test1() {

        for(int i=1;i<=100;i++){

            int x=i%10;
            //System.out.println(x);
            if(x==3||x==5||x==7 ) {
                continue;
            }
            System.out.println(i);
        }

    }


    public static void test2() {

        int n=0;
        int sum=0;
        for (int i=2;i<200;i++){
            boolean flag=true;
            for(int j=2;j<i-1;j++){
                if(i%j==0){
                    flag=false;
                    break;
                }
            }
            if(flag){
                System.out.print(i+" ");
                n++;
                if(n%8==0){
                    System.out.print("\n");
                }
                sum+=i;
            }
        }
        System.out.println("\n");
        System.out.println("这些数中共有"+n+"个素数"+"和为"+sum);
    }

    public static void test3() {

    }

}
